package com.rockcent.third;

import com.rockcent.common.BaseRoutes;
import org.springframework.stereotype.Component;

/**
 * Created by oyhk on 16/7/14.
 * <p>
 * 路由文件
 * <p>
 * 1.规范ID 表明是路径的变量参数: 例如
 * PRODUCT_$ID = "/product/{id}";
 * $ID = {id}
 */
@Component
public class Routes extends BaseRoutes {


    public static final String SITE = "/third";

    public Routes() throws IllegalAccessException {
        super();
    }

    // 用户注册保存 手机 获取验证码
    public static final String SSO_USER_REGISTER_SAVE_MOBILE_CAPTCHA = "/sso/user/register_save_mobile_captcha";
    // 用户注册保存 手机 检验验证码
    public static final String PLATFORM_USER_REGISTER_SAVE_MOBILE_VERIFY_CAPTCHA = "/platform/register_save_mobile_verify_captcha";
    // 新登录 平台信息检测
    public static final String PLATFORM_MALL_INFO_CHECK = "/platform/mall/info/check";
    // 用户注册 检查username,email,mobile 是否已存在 对应记录
    public static final String SSO_USER_CHECK_FIELD = "/sso/user/check_field";
    //用户注册忘记密码 检查email,mobile 是否已存在 对应记录
    public static final String SSO_USER_FORGOT_PASSWORD_CHECK_FIELD = "/sso/user/forget_password_check_field";

    // 用户可访问系统链接列表
    public static final String SSO_USER_PERMISSION_LIST = "/sso/user/permission_list";
    // 新登录接口
    public static final String SSO_USER_LOGIN = "/sso/user/login";
    public static final String SSO_USER_LOGIN_USER_TOKEN = "/sso/user/login_user_token";
    public static final String SSO_USER_LOGIN_USER_ID = "/sso/user/login_user_id";
    // 新登录  用户忘记密码 手机
    public static final String SSO_USER_FORGOT_PASSWORD_MOBILE = "/sso/user/forgot_password_mobile";

    // 新登录 平台入驻 提交
    public static final String PLATFORM_MALL_SETTLED_DO = "/platform/mall/settled_do";

    //新登录 用户 商家入驻 提交
    public static final String PLATFORM_MERCHANT_SETTLED_DO = "/platform/merchant/settled_do";

    // 新登录 平台入驻
    public static final String PLATFORM_MALL_SETTLED = "/platform/mall/settled";

    //新登录 用户 商家入驻
    public static final String PLATFORM_MERCHANT_SETTLED = "/platform/merchant/settled";

    // 新登录 用户忘记密码 邮件
    public static final String SSO_USER_FORGOT_PASSWORD_EMAIL = "/sso/user/forgot_password_email";

    public static final String SSO_USER_REGISTER_SAVE_EMAIL_ACTIVE_DO = "/sso/user/register_save_email_active_do";
    //邮箱用户忘记密码修改链接
    public static final String SSO_USER_FORGOT_PASSWORD_EMAIL_ACTIVE_DO = "/sso/user/forgot_password_email_active_do";
    //邮箱用户忘记密码修改密码
    public static final String SSO_USER_FORGOT_PASSWORD_BY_EMAIL_MODIFY = "/sso/user/forgot_password_by_email_modify";

    //新接口 用户注册保存 邮件
    public static final String SSO_USER_REGISTER_SAVE_EMAIL = "/sso/user/register_save_email";
    //邮箱用户注册重新发邮件激活
    public static final String SSO_USER_RESET_SEND_REGISTER_EMAIL = "/sso/user/reset_send_register_email";

    // 新接口 用户注册保存 手机
    public static final String SSO_USER_REGISTER_SAVE_MOBILE = "/sso/user/register_save_mobile";


    public static final String MAIN_PREFIX = "/";
    // 关于我们
    public static final String MAIN_ABOUT = "/about";
    //成功三部曲
    public static final String MAIN_SERVICE = "/service";
    //金融
    public static final String MAIN_SOLUTION_FINANCE = "/solution_finance";
    //媒体
    public static final String MAIN_SOLUTION_MEDIA = "/solution_media";
    //商会
    public static final String MAIN_SOLUTION_COMMERCE = "/solution_commerce";
    //商业
    public static final String MAIN_SOLUTION_TRADE = "/solution_trade";
    // 协议
    public static final String MAIN_PROTOCOL = "/protocol";
    //络享产品
    public static final String MAIN_PRODUCTS = "/products";
    //服务
    public static final String MAIN_SOLUTION = "/solution";
    // 登入
    public static final String MAIN_USER_SIGN_IN = "/sso/sign_in";

    // 用户 商家入驻
    public static final String MAIN_MERCHANT_SETTLED = "/merchant/settled";
    // 用户 商家入驻 资料
    public static final String MAIN_MERCHANT_SETTLED_MATERIAL = "/merchant/settled_material";
    // 用户 商家入驻 提交
    public static final String MAIN_MERCHANT_SETTLED_DO = "/merchant/settled_do";
    // 用户 商家入驻 成功页
    public static final String MAIN_MERCHANT_SETTLED_SUCCESS = "/merchant/settled_success";
    // 平台入驻
    public static final String MALL_SETTLED = "/mall/settled";
    //平台列表
    public static final String MALL_SETTLED_LIST = "/mall/settled_list";
    //平台详情
    public static final String MALL_SETTLED_DETAIL = "/mall/settled_detail";
    //入驻协议
    public static final String MALL_SETTLED_PROTOCOLS_INFO = "/mall/settled_protocols_info";
    //商家入驻平台
    public static final String MALL_SETTLED_MERCHANT = "/mall/settled_merchant";
    // 平台入驻 提交
    public static final String MALL_SETTLED_DO = "/mall/settled_do";
    // 平台入驻 成功页
    public static final String MALL_SETTLED_SUCCESS = "/mall/settled_success";
    //前端邮箱激活地址
    public static final String SSO_USER_REGISTER_EMAIL_ACTIVE = "/sso/register/email_success";
    //前端邮箱忘记密码修改地址
    public static final String SSO_USER_FORGOT_PASSWORD_EMAIL_MODIFY ="/sso/forgot_password/email_success";
    //手机用户忘记密码发送验证码
    public static final String SSO_USER_FORGOT_PASSWORD_MOBILE_CAPTCHA = "/sso/user/forgot_password_mobile_captcha";
    //根据域名读取平台信息
    public static final String SSO_USER_QUERY_MALL_BY_HOST = "/sso/user/query_mall_by_host";
    //------------------------- 路由属性名称 在java路由使用 跟上面路由的属性名对应 start -----------------------------

    public static final String P_MALL_ = "MAIN_USER_SIGN_IN";

    public static final String P_MAIN_USER_SIGN_IN = "MAIN_USER_SIGN_IN";
    public static final String P_MAIN_USER_REGISTER_EMAIL_ACTIVE = "MAIN_USER_REGISTER_SAVE_EMAIL_ACTIVE";
    public static final String P_MAIN_USER_REGISTER_EMAIL_ACTIVE_DO = "MAIN_USER_REGISTER_SAVE_EMAIL_ACTIVE_DO";
    public static final String P_MAIN_USER_REGISTER = "MAIN_USER_REGISTER";
    public static final String P_MAIN_USER_REGISTER_SUCCESS = "MAIN_USER_REGISTER_SUCCESS";
    public static final String P_MAIN_USER_FORGOT_PASSWORD = "MAIN_USER_FORGOT_PASSWORD";
    public static final String P_MAIN_USER_FORGOT_PASSWORD_EMAIL_SEND = "MAIN_USER_FORGOT_PASSWORD_EMAIL_SEND";
    public static final String P_MAIN_USER_FORGOT_PASSWORD_EMAIL_MODIFY = "MAIN_USER_FORGOT_PASSWORD_EMAIL_MODIFY";
    public static final String P_MAIN_USER_FORGOT_PASSWORD_SUCCESS = "MAIN_USER_FORGOT_PASSWORD_SUCCESS";

    public static final String P_MAIN_MERCHANT_SETTLED = "MAIN_MERCHANT_SETTLED";
    public static final String P_MAIN_MERCHANT_SETTLED_SUCCESS = "MAIN_MERCHANT_SETTLED_SUCCESS";


    //------------------------- 路由属性名称 在java路由使用 跟上面路由的属性名对应 end   -----------------------------

    public static final String CGI_BIN_TOKEN="/v2/cgi-bin/token";

    //监控URL
    public static final String MONITOR_TELNET_INFO="/monitor/telnet/info";
}
